<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>后台数据管理页</title>
    <meta name="description" content="后台数据管理页">
    <meta name="keywords" content="后台数据管理页">

    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">

    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

    <link rel="stylesheet" href="static/layui/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="static/layui/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="static/layui/ionicons/css/ionicons.min.css">
    <link rel="stylesheet" href="static/layui/iCheck/square/blue.css">
    <link rel="stylesheet" href="static/layui/morris/morris.css">
    <link rel="stylesheet" href="static/layui/jvectormap/jquery-jvectormap-1.2.2.css">
    <link rel="stylesheet" href="static/layui/datepicker/datepicker3.css">
    <link rel="stylesheet" href="static/layui/daterangepicker/daterangepicker.css">
    <link rel="stylesheet" href="static/layui/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
    <link rel="stylesheet" href="static/layui/datatables/dataTables.bootstrap.css">
    <link rel="stylesheet" href="static/layui/treeTable/jquery.treetable.css">
    <link rel="stylesheet" href="static/layui/treeTable/jquery.treetable.theme.default.css">
    <link rel="stylesheet" href="static/layui/select2/select2.css">
    <link rel="stylesheet" href="static/layui/colorpicker/bootstrap-colorpicker.min.css">
    <link rel="stylesheet" href="static/layui/bootstrap-markdown/css/bootstrap-markdown.min.css">
    <link rel="stylesheet" href="static/layui/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="static/layui/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="static/css/style.css">
    <link rel="stylesheet" href="static/layui/ionslider/ion.rangeSlider.css">
    <link rel="stylesheet" href="static/layui/ionslider/ion.rangeSlider.skinNice.css">
    <link rel="stylesheet" href="static/layui/bootstrap-slider/slider.css">
    <link rel="stylesheet" href="static/layui/bootstrap-datetimepicker/bootstrap-datetimepicker.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <header class="main-header">

        <!-- Logo -->
        <a href="/index" class="logo">
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg">A机构管理系统</span>
        </a>


        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top">
            <!-- Sidebar toggle button-->

            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- Messages: style can be found in dropdown.less-->
                    <li class="dropdown messages-menu">
                    </li>

                    <!-- Notifications: style can be found in dropdown.less -->
                    <li class="dropdown notifications-menu">
                    </li>

                    <!-- Tasks: style can be found in dropdown.less -->
                    <li class="dropdown tasks-menu">
                    </li>

                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="static/images/user0.jpg" class="user-image" alt="User Image">
                            <span class="hidden-xs">${sysUser.username!''}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="/exit">退出登录</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- 导航侧栏 -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">

            <!-- sidebar menu: : style can be found in sidebar.less -->
            <ul class="sidebar-menu">
                <li class="treeview">
                    <a href="/index">
                        <span>首页</span>
                    </a>
                </li>
                <li class="treeview">
                    <a href="#">
                        <span>数据管理</span>
                        <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                        </span>
                    </a>
                    <ul class="treeview-menu">
                        <li class="carDataUp">
                            <a href="/carData">
                                <span>车辆信息管理</span>
                            </a>
                        </li>
                        <li class="carDataUp">
                            <a href="/command">
                                <span>口令管理</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="treeview">
                    <a href="#">
                        <span>记录管理</span>
                        <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                        </span>
                    </a>
                    <ul class="treeview-menu">
                        <li class="carDataUp">
                            <a href="/upRecord">
                                <span>上传记录</span>
                            </a>
                        </li>
                        <li class="carDataUp">
                            <a href="/delRecord">
                                <span>车辆信息操作记录</span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </section>
        <!-- /.sidebar -->
    </aside>
    <!-- 导航侧栏 /-->
    <div class="content-wrapper">
        <!-- 内容头部 -->
        <section class="content-header">
            <h1>
                上传记录
            </h1>
            <!--<ol class="breadcrumb">
                <li><a href="carData.html">首页</a></li>
                <li><a href="#">数据主页</a></li>
            </ol>-->
        </section>
        <!-- 内容头部 /-->

        <!-- 正文区域 -->
        <section class="content">
            <!-- .box-body -->
            <div class="box box-primary">
                <div class="box-body">
                    <!-- 数据表格 -->
                    <div class="table-box">

                        <!--数据列表-->
                        <table id="dataList" class="table table-bordered table-striped table-hover dataTable">
                            <thead>
                            <tr>
                                <th class="id">流水号</th>
                                <th class="enTime">入口时间</th>
                                <th class="enTollStationName">入口名称</th>
                                <th class="exTime">出口时间</th>
                                <th class="exTollStationName">出口名称</th>
                                <th class="vehicleId">车牌号码_颜色</th>
                                <th class="vehicleType">车辆类型</th>
                                <th class="fee">消费总金额</th>
                                <th class="upDesc">上传描述</th>
                                <th class="receiveDesc">返回描述</th>
                                <th class="upTime">操作时间</th>
                                <th class="sysId">操作员ID</th>
                            </tr>
                            </thead>
                            <tbody>
                            <#list recordList as record>
                            <tr>
                                <td>${record.id}</td>
                                <td>${record.enTime?string('yyyy.MM.dd HH:mm:ss')}</td>
                                <td>${record.enTollStationName}</td>
                                <td>${record.exTime?string('yyyy.MM.dd HH:mm:ss')}</td>
                                <td>${record.exTollStationName}</td>
                                <td>${record.vehicleId}</td>
                                <td>${record.vehicleType}</td>
                                <td>${record.fee}</td>
                                <td>${record.upDesc}</td>
                                <td>${record.receiveDesc}</td>
                                <td>${record.upTime?string('yyyy.MM.dd HH:mm:ss')}</td>
                                <td>${record.sysId}</td>
                            </tr>
                            </#list>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <div class="box-footer">
        <div class="box-tools pull-right">
            <ul class="pagination">
                <li><a href="/upRecord?begin=${beginUp!''}">上一页</a></li>
                <li><a href="/upRecord?begin=${beginDown!''}">下一页</a></li>
            </ul>
        </div>
    </div>
    <!-- 底部导航 -->
    <footer class="main-footer">
        <div class="hidden-xs" >
            <strong>A机构管理系统2022</strong>
        </div>
    </footer>
    <!-- 底部导航 /-->
</div>

<script src="static/layui/jQuery/jquery-2.2.3.min.js"></script>
<script src="static/layui/jQueryUI/jquery-ui.min.js"></script>
<script>
    $.widget.bridge('uibutton', $.ui.button);
</script>
<script src="static/layui/bootstrap/js/bootstrap.min.js"></script>
<script src="static/layui/raphael/raphael-min.js"></script>
<script src="static/layui/morris/morris.min.js"></script>
<script src="static/layui/sparkline/jquery.sparkline.min.js"></script>
<script src="static/layui/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="static/layui/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<script src="static/layui/knob/jquery.knob.js"></script>
<script src="static/layui/daterangepicker/moment.min.js"></script>
<script src="static/layui/daterangepicker/daterangepicker.js"></script>
<script src="static/layui/daterangepicker/daterangepicker.zh-CN.js"></script>
<script src="static/layui/datepicker/bootstrap-datepicker.js"></script>
<script src="static/layui/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<script src="static/layui/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<script src="static/layui/slimScroll/jquery.slimscroll.min.js"></script>
<script src="static/layui/fastclick/fastclick.js"></script>
<script src="static/layui/iCheck/icheck.min.js"></script>
<script src="static/layui/adminLTE/js/app.min.js"></script>
<script src="static/layui/treeTable/jquery.treetable.js"></script>
<script src="static/layui/select2/select2.full.min.js"></script>
<script src="static/layui/colorpicker/bootstrap-colorpicker.min.js"></script>
<script src="static/layui/bootstrap-wysihtml5/bootstrap-wysihtml5.zh-CN.js"></script>
<script src="static/layui/bootstrap-markdown/js/bootstrap-markdown.js"></script>
<script src="static/layui/bootstrap-markdown/locale/bootstrap-markdown.zh.js"></script>
<script src="static/layui/bootstrap-markdown/js/markdown.js"></script>
<script src="static/layui/bootstrap-markdown/js/to-markdown.js"></script>
<script src="static/layui/ckeditor/ckeditor.js"></script>
<script src="static/layui/input-mask/jquery.inputmask.js"></script>
<script src="static/layui/input-mask/jquery.inputmask.date.extensions.js"></script>
<script src="static/layui/input-mask/jquery.inputmask.extensions.js"></script>
<script src="static/layui/datatables/jquery.dataTables.min.js"></script>
<script src="static/layui/datatables/dataTables.bootstrap.min.js"></script>
<script src="static/layui/chartjs/Chart.min.js"></script>
<script src="static/layui/flot/jquery.flot.min.js"></script>
<script src="static/layui/flot/jquery.flot.resize.min.js"></script>
<script src="static/layui/flot/jquery.flot.pie.min.js"></script>
<script src="static/layui/flot/jquery.flot.categories.min.js"></script>
<script src="static/layui/ionslider/ion.rangeSlider.min.js"></script>
<script src="static/layui/bootstrap-slider/bootstrap-slider.js"></script>
<script src="static/layui/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
<script src="static/layui/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script>
    $(document).ready(function() {
        // 选择框
        $(".select2").select2();

        // WYSIHTML5编辑器
        $(".textarea").wysihtml5({
            locale: 'zh-CN'
        });
    });


    // 设置激活菜单
    function setSidebarActive(tagUri) {
        var liObj = $("#" + tagUri);
        if (liObj.length > 0) {
            liObj.parent().parent().addClass("active");
            liObj.addClass("active");
        }
    }


    $(document).ready(function() {

        // 激活导航位置
        setSidebarActive("admin-datalist");

        // 列表按钮
        $("#dataList td input[type='checkbox']").iCheck({
            checkboxClass: 'icheckbox_square-blue',
            increaseArea: '20%'
        });
        // 全选操作
        /*$("#selall").click(function() {
            var clicks = $(this).is(':checked');
            if (!clicks) {
                $("#dataList td input[type='checkbox']").iCheck("uncheck");
            } else {
                $("#dataList td input[type='checkbox']").iCheck("check");
            }
            $(this).data("clicks", !clicks);
        });
         */
    });
    //点击查询按钮，重载表格
    /*$('#searchBtn').on('click', function() {
        table.reload('tableAll', {
            method : 'post',
            where : {
                queryColor : $('#queryColor').val(),
                queryType : $('#queryType').val()
            },
            page : {
                curr : 1
            }
        });
        return false;
    });
*/
    //触发模态框
    /*$("#myModel").on('show.bs.modal',function () {
    })
    $("#myModel2").on('show.bs.modal',function () {
    })*/
</script>
</body>
</html>